<template>
  <div>
    <h2 class='font'>{{name}}</h2>
    <input type="text" :name="name" class='input' v-model="$store.state.login_value">
  </div>
</template>

<script>
    export default {
      name:'TextInput',
      data() {
        return {
          // login_value: ''
        }
      },
      props:['name']
    }
</script>

<style scoped>
.font{
    font-size: 15px;
    font-family: "黑体";
    margin-left: 43px;
}
.input{
    border-radius: 5px;
    border:none;
    background-color: #E8F0FE;
    width: 250px;
    height: 25px;
    margin-left: 43px;

}
</style>
